package com.jinmdz.app.api.global;


import com.jinmdz.app.api.service.AuthorizeService;

/**
 * 全局定时工作计划任务
 *
 * @author LiCongLu
 * @date 2020-04-17 14:13
 */
// @Configuration
// @EnableScheduling
public class GlobalScheduleTask {

    // @Resource
    private AuthorizeService authorizeService;

    /**
     * 许可监听任务
     *
     * @param
     * @return
     * @author LiCongLu
     * @date 2020-04-17 14:17
     */
    // @Scheduled(cron = "0 */1 * * * ?")
    private void authorizeTask() {
        authorizeService.authorizeTask();
    }
}
